package org.zoomdev.zoom.common.caster;

final class Bean2BeanProvider extends CasterProviderWithClass {
    @Override
    protected ValueCaster getCaster(Class<?> srcType, Class<?> toType) {

        if (!Utils.isSimple(srcType) && !Utils.isSimple(toType)) {
            return new Bean2Bean(srcType, toType);
        }
        return null;
    }
}
